//
//  TopicListTableViewCell.m
//  Slice
//
//  Created by lanou on 16/6/18.
//  Copyright © 2016年 wangjinchao. All rights reserved.
//

#import "TopicListTableViewCell.h"

@implementation TopicListTableViewCell

- (IBAction)btnAction:(id)sender {



}






//控件赋值
- (void)getDataByModel:(TopicLIstModel *)model {
    self.tiltleLable.text = model.title;
  
    self.timeLable.text = model.addtime_f;
    NSNumber *num = model.counterList[@"comment"];
    self.commentCountLable.text = num.stringValue;
      self.introduceLable.text = model.content;
    
    [self.themeImgView sd_setImageWithURL:[NSURL URLWithString:model.coverimg] placeholderImage:[UIImage imageNamed:@"1.jpeg"]];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
